home *** CD-ROM | disk | FTP | other *** search
- Frequently Asked Questions (FAQS);faqs.080
-
-
- answer it gives to your question, then what exactly about the
- answer it gives don't you understand? If there is documentation
- available and you haven't checked it, why not?
-
- If you're not sure whether a particular piece of information will be
- helpful, include it. It can't hurt to provide extra information
- (unless, of course, that information takes up several hundred lines of
- text :-), and it may just be the key to the solution of your problem.
-
-
- Credits
-
-
- Comments about, suggestions about or corrections to this posting are
- welcomed. If you would like to ask me to change this posting in some
- way, the method I appreciate most is for you to actually make the
- desired modifications to a copy of the posting, and then to send me
- the modified posting, or a context diff between my posted version and
- your modified version (if you do the latter, make sure to include in
- your mail the "Version:" line from my posted version). Submitting
- changes in this way makes dealing with them easier for me and helps to
- avoid misunderstandings about what you are suggesting.
-
- The following people assisted in the creation of this article:
-
- Stan Brown <brown@NCoast.ORG>
- Dan_Jacobson@ATT.COM
- Tony Mountifield <tony@mwuk.UUCP>
- Leanne Phillips <phillips@syrinx.umd.edu>
- Ellen Keyne Seebacher <elle@midway.uchicago.edu>
-
-
- --
- The postings listed above are available via anonymous ftp from
- pit-manager.mit.edu (18.172.1.27) in the files:
-
-
- /pub/usenet/news.answers/usenet-primer/part1
- /pub/usenet/news.answers/usenet-faq/part1
- /pub/usenet/news.answers/emily-postnews/part1
- /pub/usenet/news.answers/usenet-writing-style/part1
- /pub/usenet/news.answers/posting-rules/part1
- /pub/usenet/news.answers/what-is-usenet/part1
- /pub/usenet/news.answers/social-newsgroups/part1
- /pub/usenet/news.answers/alt-hierarchies/part1
- /pub/usenet/news.answers/alt-hierarchies/part2
- /pub/usenet/news.answers/creating-newsgroups/part1
- /pub/usenet/news.answers/network-info/part1
- /pub/usenet/news.answers/news-announce-intro/part1
- /pub/usenet/news.answers/news-answers/introduction
- /pub/usenet/news.answers/active-newsgroups/part1
- /pub/usenet/news.answers/active-newsgroups/part2
- /pub/usenet/news.answers/moderator-list/part1
- /pub/usenet/news.answers/periodic-postings/part1
- /pub/usenet/news.answers/periodic-postings/part2
- /pub/usenet/news.answers/periodic-postings/part3
- /pub/usenet/news.answers/periodic-postings/part4
- /pub/usenet/news.answers/mailing-lists/part1
- /pub/usenet/news.answers/mailing-lists/part2
- /pub/usenet/news.answers/mailing-lists/part3
- /pub/usenet/news.answers/mailing-lists/part4
- /pub/usenet/news.answers/regional-hierarchies/part1
- /pub/usenet/news.answers/regional-hierarchies/part2
- /pub/usenet/news.answers/regional-hierarchies/part3
- /pub/usenet/news.answers/usenet-software/part1
-
-
- They are also available from mail-server@pit-manager.mit.edu by
- sending a mail message containing any or all of:
-
-
- send usenet/news.answers/usenet-primer/part1
- send usenet/news.answers/usenet-faq/part1
- send usenet/news.answers/emily-postnews/part1
- send usenet/news.answers/usenet-writing-style/part1
- send usenet/news.answers/posting-rules/part1
- send usenet/news.answers/what-is-usenet/part1
- send usenet/news.answers/social-newsgroups/part1
- send usenet/news.answers/alt-hierarchies/part1
- send usenet/news.answers/alt-hierarchies/part2
- send usenet/news.answers/creating-newsgroups/part1
- send usenet/news.answers/network-info/part1
- send usenet/news.answers/news-announce-intro/part1
- send usenet/news.answers/news-answers/introduction
- send usenet/news.answers/active-newsgroups/part1
- send usenet/news.answers/active-newsgroups/part2
- send usenet/news.answers/moderator-list/part1
- send usenet/news.answers/periodic-postings/part1
- send usenet/news.answers/periodic-postings/part2
- send usenet/news.answers/periodic-postings/part3
- send usenet/news.answers/periodic-postings/part4
- send usenet/news.answers/mailing-lists/part1
- send usenet/news.answers/mailing-lists/part2
- send usenet/news.answers/mailing-lists/part3
- send usenet/news.answers/mailing-lists/part4
- send usenet/news.answers/regional-hierarchies/part1
- send usenet/news.answers/regional-hierarchies/part2
- send usenet/news.answers/regional-hierarchies/part3
- send usenet/news.answers/usenet-software/part1
-
-
- Send a message containing "help" to get general information about the
- mail server.
-
-
- You can get an up-to-date copy of this posting by getting the file
- "/pub/usenet/news.answers/news-newusers-intro" or by sending the
- command "send usenet/news.answers/news-newusers-intro".
-
- --
- Jonathan Kamens jik@MIT.Edu
- Aktis, Inc. Moderator, news.answers
- Xref: bloom-picayune.mit.edu news.software.nn:4263 news.answers:4430
- Path: bloom-picayune.mit.edu!enterpoop.mit.edu!senator-bedfellow.mit.edu!senator-bedfellow.mit.edu!usenet
- From: Bill Wohler <wohler@sap-ag.de>
- Newsgroups: news.software.nn,news.answers
- Subject: NN Frequently Asked Questions (FAQ) with Answers
- Supersedes: <nn-faq_723016818@athena.mit.edu>
- Followup-To: poster
- Date: 5 Dec 1992 06:02:21 GMT
- Organization: SAP AG, Walldorf, Germany
- Lines: 1220
- Approved: news-answers-request@MIT.Edu
- Expires: 18 Jan 1993 06:02:10 GMT
- Message-ID: <nn-faq_723535330@athena.mit.edu>
- Reply-To: Bill Wohler <wohler@sap-ag.de>
- NNTP-Posting-Host: pit-manager.mit.edu
- Summary: This document answers Frequently Asked Questions about NN, a
- menu-based, point and shoot, USENET news reader. It should
- be read by anyone who wishes to post to news.software.nn.
- Keywords: FAQ nn news question answer newsrc digest article nntp
- newsgroup cancel mail signature header netnews usenet kill
- X-Last-Updated: 1992/12/04
-
- Archive-name: nn-faq
- Last-modified: $Date: 1992/12/04 14:31:41 $
- Version: $Revision: 92.12.1.1 $
-
- This is a living list of frequently asked questions on the Usenet
- news reader NN (No News is Good News). The point of this is to
- circulate existing information, and avoid rehashing old answers.
- Better to build on top than start again. Please read this document
- before ever posting to this newsgroup.
-
- This article is posted monthly. If it has already expired and
- you're not reading this, you can hope that you saved the last bit of
- question 3 so that you can get a copy yourself.
-
- Please do not post an answer when someone posts a frequently asked
- question, as I will always e-mail a reply. This ensures that
- everybody gets their question answered fully and eliminates
- unnecessary traffic in this newsgroup.
-
- Your comments, additions and fixes to this list are welcome: please
- send them to Bill Wohler <wohler@sap-ag.de>.
-
-
- Subject: Table of Contents
- From: Preface
-
- Legend: + new, - deleted, ! changed
-
- Introductory
-
- 1. Why should I use nn?
- !2. What is the current version/status of nn?
- !3. Where can I get nn?
- !4. What references exist for nn?
- 5. How should I report bugs?
- 6. How can I convert from rn to nn?
- 7. How can I make life simpler when starting nn for the first time?
- 8. Is there an X interface to nn?
-
- Building nn
-
- 10. What machines does nn run on?
- 11. Is it possible to restrict the groups that users have access to?
- 12. Unofficial patches for various bugs
-
- Using nn
-
- 20. How do I save files that I can read later with MH, elm, Mail, ...?
- 21. How come nn doesn't show the Lines count?
- 22. How can I find all articles having to do with a certain topic?
- 23. How can I set a different Organization name?
- 24. Can all non-selected subjects be automatically placed in my kill file?
- 25. Can I automatically kill articles based on the Newsgroups header?
- 26. How can I select one article in a thread with auto-select-subject set?
- 27. Is there a library of macros and other nn features?
- 28. Can one search for patterns in the entire article from the menu?
- 29. How can I remove old articles from folders?
- 30. What's the best way to save multi-part articles?
- 31. When saving in +a/b/c keeps you from saving in +a/b.
- !32. Can I use my mailer to send mail?
- 33. How can I see the original article with the current subject?
- !34. Can I choose newsgroups as I do articles, ie. with a menu?
- 35. How can I post prewritten articles with nn?
- 36. How do I eliminate double signatures?
- 37. Can the signature come from a different file or program?
- 38. How can I make mail replies go to a different machine?
- 39. How come more articles get selected than I expect?
- 40. Any plans for trn-ish thread following?
- 41. Setting new-group-action to "ask before adding" doesn't work.
- 42. Why does nn crash when a letter one past the highest letter is selected?
- 43. Why do articles without a Lines header appear empty?
- 44. How do I save my posts and replies automatically?
- 45. How can I change how my real name appears?
- !46. How can I customize my mail headers for mail and posting?
- +47. Can the article viewer/pager be changed?
-
- nnmaster
-
- 50. Why does nnmaster stop collecting articles at the "junk" group?
- 51. How do I cope with "Incomplete MASTER file"?
- 52. Why isn't nnmaster working?
- 53. Why do I get ".../MASTER not found"?
-
- Subject: Viewing This Article
- From: Preface
-
- To skip to a particular question numbered xx, use "/^F.*xx" with most
- pagers. In GNU Emacs type "M-C-s ^F.*xx", (or C-r to search backwards),
- followed by ESC to end the search. "-xx" is often sufficient.
-
- To skip to new or changed questions, use "/^S.*[!+]" with most pagers and
- "M-C-s ^S.*[!+]" in GNU Emacs.
-
- This article is in digest format. Nn may have already broken this
- message into separate articles; if not, then type "G %". In rn, use
- ^G to skip sections.
-
- This article is treated as an outline when edited by GNU Emacs.
- Run "M-x describe-mode" to see available outline-mode commands.
- Useful commands are "C-c C-s" (show-subtree) and "M-x show-all"
-
-
- Subject: Why should I use nn?
- From: Intro-1
-
- nn is a menu based (point and shoot) netnews reader with a complete
- set of features to satisfy both the expert and the novice user. Since
- its first release in Denmark in 1984 (!), in Europe in 1988, and the
- global release in June 1989, it has replaced rn and other well-known
- news readers at many sites.
-
- Some of the key features of nn are:
-
- * Menu-based article selection prior to reading the articles with the
- articles sorted according to subject and posting time.
-
- This significantly reduces the time spent on news reading. No
- keystrokes are wasted on articles you don't want to read, and only
- the articles selected on the menu will be read.
-
- * Release 6.4 uses standard .newsrc, and can leave individual
- articles unread.
-
- * Digests are automatically split and presented as ordinary articles!
- You can transparently save and respond to individual subarticles.
-
- * Full folder support: read, save, and delete individual articles.
-
- * Online help and manual.
-
- * Built-in unshar and patch functions.
- * Built-in uudecode function which will automatically unpack,
- concatenate, and decode multi-part postings.
-
- * Easy remapping of keys with advanced macro definition features.
-
- * Automatic kill & selection of articles based on subject or author.
-
- * User specified presentation sequence of news groups based on the
- news group hierarchy.
-
- * Whole classes of news groups can easily be unsubscribed
- permanently, e.g. talk.all and all.politics
-
- * Related groups can be merged and presented as a single group, e.g.
- comp.emacs and all gnu.emacs groups.
-
- * Blindingly fast 'search for subject'. On my Texas S1500 system, nn
- uses less than 20 seconds to find all articles on a specific
- subject among 64000 articles in all groups!
-
- * News collection and presentation is extremely fast, because nn uses
- its own database on top of the standard news system.
-
- * In a distributed environment, the database can be shared among all
- hosts on the network. Only one daemon is needed on the news server
- for all hosts. This works in a heterogenous environment as well.
-
- * NNTP is also supported (using a local database for speed).
-
- Because of the database, nn starts almost equally fast (in a few
- seconds), no matter whether you have 100 or 10000 unread articles!
- The database takes up some disk space, but dramatically improves speed
- and functionality. The amount of disk space consumed is approx. 1Mb
- per 10000 articles.
-
-
- Subject: ! What is the current version/status of nn?
- From: Intro-2
-
- The current version of nn is 6.4.18.
-
- Note: the maintenance of nn is being taken over by Peter Wemm
- <peter@zeus.dialix.oz.au>. During this transitional period, he asks
- that bugs and suggestions be posted to news.software.nn. Soon, I'm
- sure he'll have an update to this section.
-
- Patch 19 is in the works but has not yet reached beta-testing. It
- will include the Lines patch listed below. [12.92]
-
-
- Subject: ! Where can I get nn?
- From: Intro-3
-
- Note that tar files with the name of nn6.4.tar.Z (ie. not
- nn6.4.18.tar.Z) may *not* include the patches. Don't even think of
- compiling unless the PATCHLEVEL defined in patchlevel.h is 18. We
- are endeavouring to remedy the situation.
-
- In addition, this is a very old list. At the moment, only the
- Swedish and Canadian archives are known to carry the latest sources.
- We will be soon trying to update this list. Until then, may I
- suggest that you use archie to find the nn sources. [12.92]
-
- via anonymous ftp:
- chalmers.se [129.16.1.1] [12.92]
- pub/nn/nn6.4.18.tar.Z
- pub/nn/patch??.Z
- cs.mun.ca [12.92]
- pub/news/nn6.4
- dkuug.dk [129.142.96.41]
- pub/nn6.4/nn64.tarZa[a-f] ~90k each
- pub/nn6.4/nn6.4.patch[1-16].Z ~25k each
- munnari.oz.au [128.250.1.21]
- pub/news/nn
- sirius.ucs.adelaide.edu.au [129.127.40.3]
- pub/news/nn6.4/nn6.4.tar.Z 485k
- pub/news/nn6.4/nn6.4.patch[1-10].Z ~25k each
- cutmcvax.cs.curtin.edu.au [134.7.1.1]
- pub/nn-patches/patch[01-16].Z ~25k each
- aupair.cs.athabascau.ca
- pub/usenet/nn/nn6.4.patch18
- mtecv2.mty.itesm.mx [131.178.1.5]
- pub/nn/nn6.4.16.tar.Z
- pub/nn/nn6.4/nn6.4.patch[1-16].Z
- pub/nn/NN_FAQ_with_Answers
- ghost.dsi.unimi.it [131.175.10.64]
- pub/nn.6.4.16.tar.Z 766k
- pub/nntp.1.15.11.tar.Z 284k
- ftp.uu.net [137.39.1.9]
- news/readers/nn/nn6.4.tar.Z 485k
- news/readers/nn/nn6.4.patch[1-16].Z <30k each
- uk.ac.soton.ecs (NIFTP)
- login ID "guest", password of your mail ID (must include an "@"):
- <PUB>/nn6.4.16.tar.Z 621637
- <PUB>/nn6.4.patch[1-16].Z ~25000
- <PUB>/nntp-1.5.11.tar.Z 210319
-
- via anonymous uucp:
- Anyone in the U.S. can get nn source and patches by anonymous
- uucp from uunet by using their 900 number which costs 40
- cents/minute (you don't have to be a uunet subscriber). The
- number is 1-900-468-7727, login: uucp, no password. See
- uunet!~/help (~5k) for more info or get uunet!~/index/README (~4k)
- for a current full directory listing. --Gary Morris <garym@telesoft.com>
-
- uunet!~/news/nn/nn6.4.tar.Z (~485k)
- uunet!~/news/nn/nn6.4.patch1.Z (~15k)
- ...
- uunet!~/news/nn/nn6.4.patch16.Z (~24k)
-
- via mail:
- Send a note to ftpmail@decwrl.dec.com whose body contains "help"
- on a line by itself get information on getting ftp sources by
- mail.
-
- Send a note to mail-server@nluug.nl with a body containing one or
- both of the following as desired:
-
- send news/nn6.4.16.tar.Z
- send news/nntp/nntp.1.5.11.tar.Z
-
- mini-inews:
-
- As well as bringing mini-inews up to date, modifications have been
- made to remove the need for MINI_INEWS_HEADERS when setting up nn.
- Mini-inews will now create whatever headers are required including
- if desired, a Lines header or an incremental Message-ID numbering
- capability. --Jim Jagielski <jim@jagubox.gsfc.nasa.gov>
-
- jagubox.gsfc.nasa.gov [128.183.44.1] /pub/inews16.tar.Z 76K
-
-
- Subject: ! What references exist for nn?
- From: Intro-4
-
- Book:
- The Whole Internet User's Guide & Catalog, Chapter 8. Ed Krol.
- ISBN 1-56592-025-2. $24.95. 376 pages.
- O'Reilly & Associates, Inc.
- Book Orders:
- US and Canada: 800-998-9938. Fax: 707-829-0104.
-
- To get a list of non-US distributors, send a note to
- nuts@ora.com or call +1-707-829-0515.
-
- Usenet:
- news.software.nn
-
- Mailing list:
-
- NN mailing list archives:
-
- Papers:
- "Intro to nn"
- ux1.cso.uiuc.edu [128.174.5.59]:doc/net/nn.<format>
- where <format> is one from doc, ps, tex, jpn, and hqx.
-
- "A Short Guide to nn"
- unlinfo.unl.edu:pub/crc.docs/NN.doc/nn.manual.ascii
-
- This document:
- via anonymous ftp:
- pit-manager.mit.edu [18.172.1.27] /pub/usenet/news.answers/nn-faq
- ftp.uu.net [137.39.1.9] /archive/usenet/news.answers/nn-faq.Z
- cnam.cnam.fr [192.33.159.6] /pub/FAQ/???
- grasp1.univ-lyon1.fr [134.214.100.25] /pub/faq/???
- ftp.cs.ruu.nl [131.211.80.17] /pub/NEWS.ANSWERS/???
- via uucp:
- uunet!/archive/usenet/news.answers/nn-faq.Z
- via mail:
- Each of the following addresses is following by commands which
- should be included as the body of the message.
-
- mail-server@pit-manager.mit.edu
- send usenet/news.answers/nn-faq
- mail-server@cs.ruu.nl
- listserv@grasp1.univ-lyon1.fr
-
-
- Subject: How should I report bugs?
- From: Intro-5
-
- Note: the maintenance of nn is being taken over by Peter Wemm
- <peter@zeus.dialix.oz.au>. During this transitional period, he asks
- that bugs and suggestions be posted to news.software.nn. [9.92]
-
-
- Subject: How can I convert from rn to nn?
- From: Intro-6
-
- Why bother? On our system some people use nn and some people use
- rn. In fact, since they both use the same .newsrc format, it is
- perfectly possible to use both. --Ian Taylor <ian@airs.com>
-
-
- Subject: How can I make life simpler when starting nn for the first time?
- From: Intro-7
-
- I think a nice way is to use the catch-up facility. Start nn -a0
- and let nn catch up automatically. After some hours restart nn and
- unsubscribe to uninteresting groups having news articles. Restart
- nn the following day and continue unsubscribing.
-
- After one week, you have a nice .newsrc. --Joerg Napp
- <napp@uni-paderborn.de>
-
- Another method is to run nn, exit immediately with 'Q', edit
- ~/.newsrc and replace all occurrences of ':' with '!' and then
- replace the '!' with a ':' for those groups you're interested in.
- [9.92]
-
-
- Subject: Is there an X interface to nn?
- From: Intro-8
-
- No.
-
-
- Subject: What machines does nn run on?
- From: Building nn-10
-
- Note: the maintenance of nn is being taken over by Peter Wemm
- <peter@zeus.dialix.oz.au>. During this transitional period, he asks
- that updates to this list be posted to news.software.nn. Soon, the
- following paragraph will be updated with correct information.
- Please do not send updates to me.
-
- Operating systems:
-
- 3b1 (unix-pc) with GCC SunOS 3
- NeXT 1.0 SunOS 4.0
- AIX 2.2.1 SunOS 4.1 SysV environment
- A/UX 1.1 System V
- 4.2 BSD and Ultrix systems Motorola System V/88 Release 3
- 4.3 BSD systems Texas Instruments System 1500
- dnix 5.2 on DIAB DS90 NCR tower
- dnix 5.3 on DIAB DS90 ULTRIX systems (4.2 based)
- Dynix 3.0 on Symmetry Mips running riscos 4.0 or greater
- Fortune 32:16 Riscos 4.5 and later
- HPUX (series 300) Microport UNIX V.2
- HPUX 2.1 (series 800) Amdahl UTS 2.0
- HPUX 3.0 (series 800) SCO Xenix 2.2.1 (286) -- terminfo
- HPUX 6.5 or newer (series 300) SCO Xenix 286 -- termcap
- HPUX 7.0 Xenix386 [termcap version]
- Interactive UNIX on 386 Xenix386 2.3.2 w/development system
- Dynix/PTX on symmetry Tandy 68000/Xenix 3.2
- Pyramid (and Targon 35)
- SCO UNIX V on 386
- IRIX 3.1/3.2
- Siemens SINIX
-
- Hardware platforms:
-
- 3b1 with GCC [no networking] MIPS processors
- Amdahl 5890 (big iron) Siemens MX300
- AT&T 3b2 Pyramid (and Targon 35)
- Convex IBM 6150
- DECstation 3100 Silicon Graphics 4D series
- Gould PN6000 SPARC processors
- HP9000 series 320 and 800 (at least) 80386 based SUNs [have network support]
- Intel 80286 [no networking] Sequent Symmetry
- Intel 80386 [no networking] VAX family
- Motorola 68000 family
- Motorola 88000 risc
-
-
- Subject: Is it possible to restrict the groups that users have access to?
- From: Building nn-11
-
- Create a new group for the people who can read the special groups.
- Call it "privnews", for example. (In /etc/group put the userid of
- each person who's in that group on that group's line.) Then change
- the group of the spool directory which contains the restricted
- newsgroup to "privnews" (leaving the owner as news), and set the
- mode to 750. --Alexis Rosen <alexis@panix.com>
-
-
- Subject: Unofficial patches for various bugs
- From: Building nn-12
-
- Several bugs have been reported and fixed and the patches are
- available here for those not patient enough to wait until the next
- release.
-
- Remember, these are *unofficial* patches so back them out before
- patching in the next release of nn. You do not have to strip the
- two leading spaces before these patches. In fact you can run "patch
- -s -N < this-entire-faq", within the newsreader even!
-
- The following patch fixes NN dateline parsing. Also, NN mishandles
- non-GMT time zones near short month boundaries due to NN's, er,
- somewhat unusual time stamp encoding. It will be included in an
- upcoming Patch 19. [12.92]
-
- *** old/pack_date.c Wed Apr 17 01:32:40 1991
- --- new/pack_date.c Thu Jun 4 20:03:02 1992
- ***************
- *** 4,9 ****
- --- 4,11 ----
- * Calculate an approximate "time_stamp" value for a date
- * string. The actual value is not at all critical,
- * as long as the "ordering" is ok.
- + * The current algorithm mishandles non-GMT time zones near
- + * short month boundaries, but this is rare in real news.
- *
- * The result is NOT a time_t value, i.e. ctime() will
- * not produce the original Date string.
- ***************
- *** 256,262 ****
- res *= 24 * 60;
- res += (hour * 60) + min;
-
- ! return res + tzone(date);
- }
-
-
- --- 258,264 ----
- res *= 24 * 60;
- res += (hour * 60) + min;
-
- ! return res - tzone(date);
- }
-
-
- --Paul Eggert <eggert@twinsun.com>
-
-
- Subject: Can I set up nn securely?
- From: Building nn-13
-
- Diffs are unfortunately not included, but this is what you can do:
-
- o Set shell-restrictions in the setup file.
- o Set and lock *every* variable which is used to execute commands.
- o Modify the source to avoid display/save/print files above the
- home-directory if shell-restrictions is set (mainly in save.c).
- o Modify the source to avoid changing directories if shell-restrictions
- is set.
- o Modify the source to avoid showing the contents of locked variables.
-
- In particular, the following variables should be locked:
-
- backup-folder-path, backup-suffix, bug-report-address, decode-header-file,
- editor, folder, inews, mail, mail-record, mailer, news-record, newsrc,
- pager, patch-command, printer, record, spell-checker, unshar-header-file
-
-
- Subject: How do I save files that I can read later with MH, elm, Mail, ...?
- From: Using nn-20
-
- MH:
- Save your files with +$F/$N. For example, if you save message 10
- in news.software.nn in this way, you will create a file called
- ~/News/news/software/nn/10. If you have a symbolic link from
- ~/Mail/news to ~/News, then you can look at your saved nn
- messages with "scan +news/news/software/nn".
-
- Mail
- Add "set mail-format" to your init file.
-
-
- Subject: How come nn doesn't show the Lines count?
- From: Using nn-21
-
- Karl Kleinpaste writes:
- C News sites can turn on Lines: header creation (we do here), but
- the default has it turned off. I wish more would turn it on, as
- several newsreaders put it to use, and it's the most easily
- available metric of article size when showing the user a menu of
- available articles.
-
- Henry Spencer replies:
- We're unenthusiastic about Lines:, which is why it's off by default
- and little-documented. *The* most easily available metric of
- article size is not line count -- which is often slightly wrong, by
- the way -- but byte count, which is available without even parsing
- the headers.
-
- You can tell C News to add Lines: headers to articles *posted*
- locally, but C News has no provision for adding headers to traffic
- coming in from other sites. [Specifically, search for the string
- "uncomment" in inews, and uncomment those lines. --bw]
-
- But Paul Eggert <eggert@twinsun.com> and Luc Rooijakkers
- <lwj@cs.kun.nl> provide a solution:
-
- Remember, these are *unofficial* patches so back them out before
- patching in the next release of nn. You do not have to strip the
- two leading spaces before these patches. In fact you can run "patch
- -s -N < this-entire-faq", within the newsreader even! This patch
- will be included in the upcoming Patch 19. [12.92]
-
- ===================================================================
- RCS file: news.c,v
- retrieving revision 1.1
- diff -c2 -r1.1 news.c
- *** news.c 1990/10/23 21:37:38 1.1
- --- news.c 1992/06/19 23:17:05
- ***************
- *** 231,235 ****
- char *parse_header();
- struct stat statb;
- ! int retry;
- FILE *f;
- #ifdef NNTP
- --- 231,235 ----
- char *parse_header();
- struct stat statb;
- ! int c, retry;
- FILE *f;
- #ifdef NNTP
- ***************
- *** 300,309 ****
- body = parse_header(f, art_hdr_field, modes, buffer1);
-
- - news.ng_lines = news.ng_xlines ? atoi(news.ng_xlines) : -1;
- if (news.ng_from == NULL) news.ng_from = news.ng_sender;
-
- ! if (modes & FILL_OFFSETS) {
- art->fpos = news.ng_fpos = ftell(f);
-
- fseek(f, (off_t)0, 2);
- news.ng_lpos = ftell(f);
- --- 300,328 ----
- body = parse_header(f, art_hdr_field, modes, buffer1);
-
- if (news.ng_from == NULL) news.ng_from = news.ng_sender;
-
- ! if (modes & FILL_OFFSETS)
- art->fpos = news.ng_fpos = ftell(f);
-
- + if (news.ng_xlines)
- + news.ng_lines = atoi(news.ng_xlines);
- + else {
- + #ifdef NNTP
- + if (use_nntp && lazy) {
- + off_t fpos = ftell(f);
- + fclose(f);
- + f = nntp_get_article(art->a_number, 2);
- + if (f == NULL) return NULL;
- + lazy = 0;
- + fseek(f, fpos, 0);
- + }
- + #endif
- + news.ng_lines = 0;
- + while ((c = getc(f)) != EOF)
- + if (c == '\n')
- + news.ng_lines++;
- + }
- +
- + if (modes & FILL_OFFSETS) {
- fseek(f, (off_t)0, 2);
- news.ng_lpos = ftell(f);
-
-
- Subject: How can I find all articles having to do with a certain topic?
- From: Using nn-22
-
- nngrab invokes nn on all articles whose subject or keyword fields
- contain a desired keyword. This shows one how important it is to
- use descriptive subjects and keywords when posting articles. For
- more information, read the manual page.
-
-
- Subject: How can I set a different Organization name?
- From: Using nn-23
-
- See "How can I update my mail headers?" [9.92]
-
-
- Subject: Can all non-selected subjects be automatically placed in my kill file?
- From: Using nn-24
-
- This is on the list of things to do.
-
-
- Subject: Can I automatically kill articles based on the Newsgroups header?
- From: Using nn-25
-
- This is how one can automatically kill crossposted articles, etc.
-
- First, manually either add the following to your .newsrc to mark all
- articles read forever:
-
- alt.flame: 1-2147483647
-
- or add the following to your .nn/kill file to kill all articles in
- the group:
-
- alt.flame:!s/:^
-
- The former method may break down if you ever use nngoback to reset
- numbers in your .newsrc. The latter method could cause difficulty
- if you ever actually want to read articles in that group.
-
- Near the top of your sequence in your init file put
-
- !alt.flame.
- alt.flame
-
- This makes alt.flame, but not its subgroups, be included as the first
- thing in your sequence; so all articles in it are killed before they
- appear in any other groups. You might want to put NEW above this so
- you can see if new groups are getting off to a bad start with lots of
- alt.flame crossposting. Later in the sequence put
-